package cn.com.surker.workcon.common;

import cn.com.surker.enums.ICodeDescEnum;

/**
 * 删除派单状态
 *
 * @author luotao
 * @date 2025/1/24
 */
public enum ProDelEnum implements ICodeDescEnum {
	DEFAULT(0, "等待删除"),
	SUCCESS(1, "删除成功"),
	FAIL(-1, "删除失败"),
	;

	private final String description;

	private final Integer code;

	ProDelEnum(Integer code, String description) {
		this.code = code;
		this.description = description;
	}

	@Override
	public String getDescription() {
		return description;
	}

	@Override
	public Integer getCode() {
		return code;
	}
}
